package com.gy.api.pc.examine.domain.po;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import javax.persistence.*;

@Table(name = "examine_log")
@Data
@EqualsAndHashCode(callSuper = false)
public class ExamineLogPO {
    /**
     * ID
     */
    @Id
    private String id;

    /**
     * 关联ID
     */
    @Column(name = "related_id")
    private String relatedId;

    /**
     * 审批状态
     */
    @Column(name = "examine_state")
    private String examineState;

    /**
     * 当前审批节点
     */
    @Column(name = "examine_node")
    private String examineNode;

    /**
     * 当前审批人
     */
    @Column(name = "examine_user")
    private String examineUser;

    /**
     * 当前审批人ID
     */
    @Column(name = "examine_user_id")
    private String examineUserId;

    /**
     * 审核意见
     */
    @Column(name = "examine_desc")
    private String examineDesc;

    /**
     * 审核附件地址
     */
    @Column(name = "examine_annex_url")
    private String examineAnnexUrl;

    /**
     * 审核附件名称
     */
    @Column(name = "examine_annex_name")
    private String examineAnnexName;

    /**
     * 审核流程ID
     */
    @Column(name = "examine_id")
    private String examineId;

    /**
     * 审批时间
     */
    @Column(name = "examine_date")
    private Date examineDate;
}